package org.NooLab.itexx;

import org.NooLab.itexx.app.controller.SessionManager;
import org.NooLab.itexx.app.gui.definition.ITexxWindowGuiIntf;



/**
 * 
 * this runs its own thread, sending the results to the panel list
 * 
 * From there, the user will select any of the panels by double clicking (which stops the clipboard)
 * 
 * this object is hosted by appCommons, the global list it is working on gets updated by ResultsDigester
 * such we have the classical queue pattern
 * 
 * this global list is hosted by the SessionManager
 * 
 */
public class FoundResultsGuiUpdater {

	ITexxWindowCommons appCommons;
	SessionManager smgr ;
	ITexxWindowGuiIntf windowGui;
	
	int maxNumberOfPanels = 20;
	
	// ========================================================================
	public FoundResultsGuiUpdater( ITexxWindowCommons commons,
								   ITexxWindowGuiIntf windowGui,
								   int maxNumberOfPanels) {
		
		appCommons = commons;
		this.windowGui = windowGui;
		smgr = appCommons.getSessionManager() ;
	
		this.maxNumberOfPanels = maxNumberOfPanels;
	}
	// ========================================================================
	
	
}
